﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SiGeSIB.GUI.Common
{
	public class ConflictableForm: UserControl
	{
		public virtual bool ConflictsWith(ConflictableForm form)
		{
			bool conflicts = false;

			if (form.GetType() == this.GetType())
				conflicts = true;

			return conflicts;
		}

		public EventHandler<EventArgs<DialogResult>> RequestClose;
	}
}
